package org.dromara.run.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;

import java.io.Serial;

/**
 * 阳光跑成绩表对象 phy_run_score
 *
 * @author chl
 * @date 2024-08-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("phy_run_score")
public class Score extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO, value = "score_id")
    private Long scoreId;

    /**
     * 用户id
     */
    private String memberId;

    /**
     * 计划id
     */
    private String scheduleId;

    /**
     * 跑步总次数
     */
    private Long totalRuns;

    /**
     * 跑步总里程
     */
    private BigDecimal totalMileage;

    /**
     * 有效跑步次数
     */
    private Long validRuns;

    /**
     * 有效跑步里程
     */
    private BigDecimal validMileage;

    /**
     * 晨跑次数
     */
    private Long morningRuns;

    /**
     * 晨跑里程
     */
    private BigDecimal morningMileage;

    /**
     * 跑步成绩分数
     */
    private BigDecimal score;

    /**
     * 修改后分数
     */
    private BigDecimal modifyScore;


}
